package com.coding.pojo;

import java.io.Serializable;
import java.util.Objects;

/**
 * (Classwith)实体类
 *
 * @author makejava
 * @since 2020-07-31 14:37:49
 */
public class Classwith implements Serializable {
    private static final long serialVersionUID = -61148789984993089L;
    
    private Integer userId;
    
    private Integer classId;
    
    private String classwithTag;
    
    private String classwithTime;
    
    private String classwithMore1;
    
    private String classwithMore2;

    private Theclass theclass;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Classwith classwith = (Classwith) o;
        return Objects.equals(userId, classwith.userId) &&
                Objects.equals(classId, classwith.classId) &&
                Objects.equals(classwithTag, classwith.classwithTag) &&
                Objects.equals(classwithTime, classwith.classwithTime) &&
                Objects.equals(classwithMore1, classwith.classwithMore1) &&
                Objects.equals(classwithMore2, classwith.classwithMore2) &&
                Objects.equals(theclass, classwith.theclass);
    }

    @Override
    public int hashCode() {
        return Objects.hash(userId, classId, classwithTag, classwithTime, classwithMore1, classwithMore2, theclass);
    }

    @Override
    public String toString() {
        return "Classwith{" +
                "userId=" + userId +
                ", classId=" + classId +
                ", classwithTag='" + classwithTag + '\'' +
                ", classwithTime=" + classwithTime +
                ", classwithMore1='" + classwithMore1 + '\'' +
                ", classwithMore2='" + classwithMore2 + '\'' +
                ", theclass=" + theclass +
                '}';
    }

    public Theclass getTheclass() {
        return theclass;
    }

    public void setTheclass(Theclass theclass) {
        this.theclass = theclass;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getClasswithTag() {
        return classwithTag;
    }

    public void setClasswithTag(String classwithTag) {
        this.classwithTag = classwithTag;
    }

    public String getClasswithTime() {
        return classwithTime;
    }

    public void setClasswithTime(String classwithTime) {
        this.classwithTime = classwithTime;
    }

    public String getClasswithMore1() {
        return classwithMore1;
    }

    public void setClasswithMore1(String classwithMore1) {
        this.classwithMore1 = classwithMore1;
    }

    public String getClasswithMore2() {
        return classwithMore2;
    }

    public void setClasswithMore2(String classwithMore2) {
        this.classwithMore2 = classwithMore2;
    }

}